-- A slightly altered version of catppucchin mocha
local mocha = {
	rosewater = "#f5e0dc",
	flamingo = "#f2cdcd",
	pink = "#f5c2e7",
	mauve = "#cba6f7",
	red = "#f38ba8",
	maroon = "#eba0ac",
	peach = "#fab387",
	yellow = "#f9e2af",
	green = "#a6e3a1",
	teal = "#94e2d5",
	sky = "#89dceb",
	sapphire = "#74c7ec",
	blue = "#89b4fa",
	lavender = "#b4befe",
	text = "#cdd6f4",
	subtext1 = "#bac2de",
	subtext0 = "#a6adc8",
	overlay2 = "#9399b2",
	overlay1 = "#7f849c",
	overlay0 = "#6c7086",
	surface2 = "#585b70",
	surface1 = "#45475a",
	surface0 = "#313244",
	base = "#1f1f28",
	mantle = "#181825",
	crust = "#11111b",
}

local color = {
	-- 红色系
	red = "#FF0000",
	crimson = "#DC143C",
	tomato = "#FF6347",
	coral = "#FF7F50",
	indianred = "#CD5C5C",
	firebrick = "#B22222",
	maroon = "#800000",
	darkred = "#8B0000",
	f38ba8 = "#f38ba8", -- 你提供的颜色
	eba0ac = "#eba0ac", -- 你提供的颜色

	-- 橙色系
	orange = "#FFA500",
	darkorange = "#FF8C00",
	orangeyellow = "#FFD700",
	gold = "#FFD700",
	goldenrod = "#DAA520",
	darkgoldenrod = "#B8860B",

	-- 黄色系
	yellow = "#FFFF00",
	lemonchiffon = "#FFFACD",
	lightyellow = "#FFFFE0",
	papayawhip = "#FFEFD5",
	moccasin = "#FFE4B5",
	peachpuff = "#FFDAB9",
	f9e2af = "#f9e2af", -- 你提供的颜色

	-- 绿色系
	green = "#008000",
	lime = "#00FF00",
	limegreen = "#32CD32",
	forestgreen = "#228B22",
	seagreen = "#2E8B57",
	darkgreen = "#006400",
	a6e3a1 = "#a6e3a1", -- 你提供的颜色

	-- 蓝色系
	blue = "#0000FF",
	skyblue = "#87CEEB",
	lightblue = "#ADD8E6",
	deepskyblue = "#00BFFF",
	dodgerblue = "#1E90FF",
	steelblue = "#4682B4",
	cornflowerblue = "#6495ED",
	navy = "#000080",
	midnightblue = "#191970",
	darkblue = "#00008B",

	-- 紫色系
	purple = "#800080",
	magenta = "#FF00FF",
	violet = "#EE82EE",
	plum = "#DDA0DD",
	orchid = "#DA70D6",
	lavender = "#E6E6FA",
	thistle = "#D8BFD8",

	-- 粉色系
	pink = "#FFC0CB",
	hotpink = "#FF69B4",
	deeppink = "#FF1493",
	lightpink = "#FFB6C1",

	-- 棕色系
	brown = "#A52A2A",
	chocolate = "#D2691E",
	sienna = "#A0522D",
	saddlebrown = "#8B4513",
	peru = "#CD853F",
	burlywood = "#DEB887",
	tan = "#D2B48C",
	rosybrown = "#BC8F8F",

	-- 灰色系
	gray = "#808080",
	silver = "#C0C0C0",
	darkgray = "#A9A9A9",
	lightgray = "#D3D3D3",
	gainsboro = "#DCDCDC",
	whitesmoke = "#F5F5F5",
	black = "#000000",
	white = "#FFFFFF",
}


local colorscheme = {
	foreground = mocha.text,
	background = mocha.base,
	cursor_bg = mocha.rosewater,
	cursor_border = mocha.rosewater,
	cursor_fg = mocha.crust,
	selection_bg = mocha.surface2,
	selection_fg = mocha.text,
	ansi = {
		"#0C0C0C", -- black
		"#C50F1F", -- red
		"#13A10E", -- green
		"#C19C00", -- yellow
		"#0037DA", -- blue
		"#881798", -- magenta/purple
		"#3A96DD", -- cyan
		"#CCCCCC", -- white
	},
	brights = {
		"#767676", -- black
		"#E74856", -- red
		"#16C60C", -- green
		"#F9F1A5", -- yellow
		"#3B78FF", -- blue
		"#B4009E", -- magenta/purple
		"#61D6D6", -- cyan
		"#F2F2F2", -- white
	},
	tab_bar = {
		background = "#000000",
		active_tab = {
			bg_color = mocha.surface2,
			fg_color = mocha.text,
		},
		inactive_tab = {
			bg_color = mocha.surface0,
			fg_color = mocha.subtext1,
		},
		inactive_tab_hover = {
			bg_color = mocha.surface0,
			fg_color = mocha.text,
		},
		new_tab = {
			bg_color = mocha.base,
			fg_color = mocha.text,
		},
		new_tab_hover = {
			bg_color = mocha.mantle,
			fg_color = mocha.text,
			italic = true,
		},
	},
	visual_bell = mocha.surface0,
	indexed = {
		[16] = mocha.peach,
		[17] = mocha.rosewater,
	},
	scrollbar_thumb = mocha.surface2,
	split = mocha.overlay0,
	compose_cursor = mocha.flamingo, -- nightbuild only
}

return colorscheme
